﻿using Alchemy.Classes;
using Rebazza.Server.Entities;
using Rebazza.Utils.Enums;

namespace Rebazza.Server.Utils
{
    public static class Messenger
    {
        public static Message GetErrorMessage(UserContext context, string message)
        {
            var response = new Message
            {
                Mode = CommandMode.Base,
                Type = CommandType.Serialize,
                Command = message,
                Status = CommandStatus.Error
            };

            return response;
        }
    }
}
